package com.zone.gateway.core.executor.result;

/**
 * @author: zongzi
 * @description: 网关执行结果编码
 * @date: 2025/4/22
 */
public enum SessionCode {
    SUCCESS("0000", "调用成功"),
    FAIL("0001", "调用失败"),
    ;


    private final String code;
    private final String name;

    SessionCode(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
